library _;

import 'package:flutter/material.dart';
import 'package:flutter_app/Const/IFinal.dart';
import 'package:flutter_app/Page/Mine/Setting/main.dart';
import 'package:flutter_app/Page/Mine/UserInfo/main.dart';
import 'package:flutter_app/Util/App/AppUtils.dart';
import 'package:flutter_yfree/YFree.dart';

part "controller.dart";

class MainPage_Mine extends YKeepAlivePage {
  @override
  void yOnCreate() {}

  @override
  bool ySafeAreaBottom() => false;

  @override
  Widget yBuild(BuildContext context) {
    return Container(
      color: IFinal.Colors.pageBG,
      child: Column(
        children: [
          YAppBar(
            title: "我的",
            canBack: false,
            right: YButton(child: Icon(Icons.settings_outlined), onTap: () => yIntent(SettingsPage())),
          ),
          view_user(),
        ],
      ),
    );
  }
}
